package cn.iocoder.yudao.module.tms.convert.companyaccountperiod;

import cn.iocoder.yudao.module.tms.controller.admin.companyaccountperiod.vo.CompanyAccountPeriodRespVO;
import cn.iocoder.yudao.module.tms.controller.admin.companyaccountperiod.vo.CompanyAccountPeriodSaveReqVO;
import cn.iocoder.yudao.module.tms.dal.dataobject.companyaccountperiod.CompanyAccountPeriodDO;
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface CompanyAccountPeriodConvert {

    CompanyAccountPeriodConvert INSTANCE = Mappers.getMapper(CompanyAccountPeriodConvert.class);

    CompanyAccountPeriodDO convert(CompanyAccountPeriodSaveReqVO bean);

    CompanyAccountPeriodRespVO convert(CompanyAccountPeriodDO bean);

    PageResult<CompanyAccountPeriodRespVO> convertPage(PageResult<CompanyAccountPeriodDO> page);

}
